Move the translation from pages to MiB out of XendNode and into the xc layer.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 30 Nov 2005 18:43:00 +0000 (18:43 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 30 Nov 2005 18:43:00 +0000 (18:43 +0000)
commitfa45226f847cf8860e6989d9208cb6cc8ecf510c
treecee54a8e7bc8e64623e00fdcd3d6692185d1f0a8
parent9d72feba41d33fc58dd645f2a711a606431db55b
Move the translation from pages to MiB out of XendNode and into the xc layer.
xc has access to the page size for the platform and the Python layer does not,
so there was a hardcoded "/ 256" in there.

Rename the "memory" physinfo parameter to "total_memory", to match the usage
elsewhere.

Tidy the code generating the SXP for xm info.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/lowlevel/xc/xc.c
tools/python/xen/xend/XendNode.py
tools/xm-test/lib/XmTestReport/OSReport.py